package com.thread.exe;

import java.util.EventListener;

public class SafeListener {
	private final EventListener listener;
	
	private SafeListener() {
		listener = new EventListener() {
		};
	}
	
	public static SafeListener newInstance(EventSource source) {
		SafeListener safe = new SafeListener();
		source.registerListener(safe.listener);
		return safe;
	}
	
	private class EventSource{

		public void registerListener(EventListener listener) {
		}
		
	}
}
